POV-Ray : Newsgroups : povray.general : using image as a function hf_macro : Re: using image as a function hf_macro Server Time
5 Aug 2024 20:24:03 EDT (-0400)
  Re: using image as a function hf_macro  
From: Shay
Date: 1 Aug 2002 15:08:50
Message: <3d498742@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...
>
> function {pigment {image_map {...}}}
>

This is what I have been trying. I am getting an error, however.
--Parse Error: Expected 'string', colour identifier found instead--

I guess I am doing something else wrong. Here is the relevant part of the
scene:
#declare ImageFunction = function {pigment {image_map {png "name2.png" }}};
#include "Shapes.inc"

HF_Square (ImageFunction,no,no,<10,10>,no,"Test_Out.inc",<-1,-1,-1>,<1,1,1>)


 -Shay


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.